home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Grafix CD 1
/
The Grafix CD 1.iso
/
utils
/
_intergif
/
_help
next >
Wrap
Text File
|
1996-10-29
|
6KB
|
161 lines
InterGif 4
==========
by Peter Hartley (K) All Rites Reversed
Desktop front-end adapted from one by Iain Logan
INTERGIF 4 is a program for making GIF images from 2-, 4-, 16- or
256-colour RiscOS sprite files, or from files produced with Iota
Software's (commercial) animation program The Complete Animator. It
can also convert from GIFs back to sprites.
Get the latest version
----------------------
The latest version of InterGif, plus more help information and full
source code, is always available on the World-Wide Web at the address
http://www.ant.co.uk/~peter/software/intergif.htm
It's the twenty-seventh of October, 1996, as I'm writing these words
(happy birthday, Anne): if it's long after that that you're reading
them, you might want to see if there's a later version now available.
Distribution
------------
InterGif is NOT COPYRIGHTED and is NOT distributed under the GNU
General Public Licence. For full information read the file
!InterGif.Copying or go to the Web site.
Features
--------
o InterGif runs either on the desktop, or from the command line (so
I can produce the GIFs for my own Web pages, from the sprites
which constitute their source, using a make file!).
o InterGif has options for the transparency and interleaving
features of GIF89a.
o InterGif can take a sprite file (or an Animator file) containing
several frames, and produce from it an animated GIF which Netscape
2.0 or later, MSIE 3.0beta1 or later, or ANT Fresco 1.22 or later
will render as animated if it's inlined in a Web page.
o InterGif will reduce its input to a smaller number of colours
(unless you explicitly tell it not to) if it can get away with it,
i.e. if only that many of the colours are used anyway.
o It will also compress only the rectangle which has changed on each
frame, so if your animation has a complex but stationary
background, the background will only get compressed once.
Deviousness and cunning are employed to minimise the final size of
the GIF: so much so that many animated GIFs I've found on the Web
have ended up smaller when run through InterGif.
o It can also make GIF images from Draw files if used in conjunction
with AADraw (see end).
Desktop use
-----------
Pretty straightforward. Run !InterGif; drag your sprite file, Animator
file, or GIF onto the left-hand bit of the window; set any options you
want in the middle bit of the window; and save your GIF or sprite file
out from the right-hand bit of the window. The options are:
o Interlaced
Produce an interlaced GIF: in other words, one which a Web
browser can render quickly at a low resolution, filling in the
details later as they arrive.
o Looping animation
Normally an animated GIF plays through once and stops. If you
tick this option, you'll get an animated GIF that plays over and
over again. This is a Netscape extension to the GIF format, but
hopefully it will become a popular one -- both MSIE and Fresco now
support it too.
o One frame per file
This splits up the input file into one output file per frame.
Not, I admit, terribly useful, unless you need to import something
into an application that expects lots of one-frame GIFs -- for
instance, Sun's Java Animator applet. The names of the files are
taken from the one you give, with any numeric part incremented as
needed, so if you save a three-frame animation as frame001/gif,
you also get frame002/gif and frame003/gif.
o Keep source palette
This disables InterGif's palette optimisations and ensures
that the output has all the same colours, in the same order, as
the input.
o Frame delay
This lets you set the frame rate, in centiseconds. The default
is 8 centiseconds per frame (12.5 frames per second).
o Transparency
Choose None to get a wholly opaque GIF (no masking), Auto to
get InterGif to use the sprites' masks (or the film's background
colour); or you can specify a transparent pixel-value directly.
(Hint: to find out what pixel-value a sprite pixel has, load the
sprite into Paint, ensure its palette window is showing, click
Menu over the pixel you want, and choose "Paint->Select colour".
Command-line use
----------------
For this, you'll probably want to copy !InterGif.intergif into your
library directory.
At its simplest, you can just type intergif and the name of your
sprite or film file, and it'll be converted. Here's a full list of the
options:
intergif [-i] [-loop] [-s ] [-split] [-same] [-d cs] [-t [pixel]]
[-o outfile] infile
-i
Produce an interlaced GIF
-loop
Looping animation
-s
Produce a sprite rather than a GIF
-split
One frame per file
-same
Keep source palette
-d cs
Frame delay in centiseconds
-t
Use automatic transparency (default is no transparency)
-t pixel
Use specified pixel as transparent
-o outfile
Filename for the output (default is <infile>/gif)
infile
A RiscOS sprite, Complete Animator or GIF file
See also
--------
The InterGif page
http://www.ant.co.uk/~peter/software/intergif.htm
The AADraw page
http://www.ant.co.uk/~peter/software/aadraw.htm
The Complete Animator
http://www.iota.co.uk/animator/
GIF89a specification
http://asterix.seas.upenn.edu/~mayer/lzw_gif/gif89a.html
Animated GIFs for other platforms
http://www.n-vision.com/panda/gifanim/
peter@ant.co.uk
27th October 96